from django.urls import re_path
from . import views

urlpatterns = [
    re_path('^$',views.IndexView.as_view(),name='indexes'),
    re_path('^list/(?P<channel_id>\d)/(?P<page_num>\d+)/$',views.IndexView.as_view()),
    re_path('^detail/(?P<article_id>\d+)/$',views.DetailView.as_view()),
]
